/**
 * @file config.js
 * @author GaoFeng <gaofeng@Antiy.cn>
 * @createTime 2018-03-07 20:41:22
 * @description project config file
 */
const config = {
  saas: {
    btnExport: true,
    btnTimeDistribution: true,
    btnAssociationGraph: true,
    btnStatisticalGraph: true,
    btnUserInsert: true,
    btnSignCheckbox: true,
    btnCreateRule: true,
    btnReportPTA: true,
    btnSampleDownload: true
  },
  YongZhou: {
    btnExport: false,
    btnTimeDistribution: false,
    btnAssociationGraph: false,
    btnStatisticalGraph: false,
    btnUserInsert: true,
    btnSignCheckbox: false,
    btnCreateRule: false,
    btnReportPTA: false,
    btnSampleDownload: false
  },
  JiangXiZhengWuYun: {
    btnExport: false,
    btnTimeDistribution: false,
    btnAssociationGraph: false,
    btnStatisticalGraph: false,
    btnUserInsert: true,
    btnSignCheckbox: false,
    btnCreateRule: true,
    btnReportPTA: true,
    btnSampleDownload: true
  },
  mhWebMonitoring: {
    btnExport: true,
    btnImport: true,
    btnTimeDistribution: false,
    btnAssociationGraph: false,
    btnStatisticalGraph: false,
    btnUserInsert: true,
    btnSignCheckbox: false,
    btnCreateRule: true,
    btnReportPTA: true,
    btnSampleDownload: true
  },
  title: '网站安全检测子平台'
}

export const getProjectConfig = name => {
  return config[name]
}
